package flst.ipiweb.transverse;

import java.util.Date;

public class CodePromotionnel {

	private int id;
	private String code;
	private int pourcentageReduc;
	private Article article;
	private int typePromo;
	private Date dateDebut;
	private Date dateFin;
	private Enseigne enseigne;
	


	public CodePromotionnel(){};
	
	public CodePromotionnel(int id, String code, int pourcentageReduc, Article article, int typePromo,
	Date dateDebut, Date dateFin){
		
		this.id=id;
		this.code=code;
		this.pourcentageReduc=pourcentageReduc;
		this.article=article;
		this.typePromo=typePromo;
		this.dateDebut=dateDebut;
		this.dateFin=dateFin;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public int getPourcentageReduc() {
		return pourcentageReduc;
	}

	public void setPourcentageReduc(int pourcentageReduc) {
		this.pourcentageReduc = pourcentageReduc;
	}

	public Article getArticle() {
		return article;
	}

	public void setArticle(Article article) {
		this.article = article;
	}

	public int getTypePromo() {
		return typePromo;
	}

	public void setTypePromo(int typePromo) {
		this.typePromo = typePromo;
	}

	public Date getDateDebut() {
		return dateDebut;
	}

	public void setDateDebut(Date dateDebut) {
		this.dateDebut = dateDebut;
	}

	public Date getDateFin() {
		return dateFin;
	}

	public void setDateFin(Date dateFin) {
		this.dateFin = dateFin;
	}
	
	public Enseigne getEnseigne() {
		return enseigne;
	}

	public void setEnseigne(Enseigne enseigne) {
		this.enseigne = enseigne;
	}
	
	
}
